import { ApiProperty } from '@nestjs/swagger';
import { FeedbackType, FeedbackStatus } from '../feedback.entity';

export class FeedbackResponseDto {
  @ApiProperty({ description: '反馈ID' })
  id: number;

  @ApiProperty({ description: '反馈内容' })
  content: string;

  @ApiProperty({ description: '反馈类型', enum: FeedbackType })
  type: FeedbackType;

  @ApiProperty({ description: '反馈状态', enum: FeedbackStatus })
  status: FeedbackStatus;

  @ApiProperty({ description: '用户ID' })
  userId: number;

  @ApiProperty({ description: '创建时间' })
  createdAt: Date;

  @ApiProperty({ description: '更新时间' })
  updatedAt: Date;
}